package lib.quasar.chat;

import lib.quasar.db.table.Chat;

public final class ChatModel {

    private String type = "";
    private String client_id = "";
    private Chat datas = null;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getClient_id() {
        return client_id;
    }

    public void setClient_id(String client_id) {
        this.client_id = client_id;
    }

    public Chat getDatas() {
        return datas;
    }

    public void setDatas(Chat datas) {
        this.datas = datas;
    }

    public boolean isInspection() {
        return "inspection".equals(type);
    }

    public boolean isInit() {
        return "init".equals(type);
    }

    /**
     * 化验单
     */
    public static class InspectionModel {

        private String patientid = "";
        private String inspection_date = "";

        public String getPatientid() {
            return patientid;
        }

        public void setPatientid(String patientid) {
            this.patientid = patientid;
        }

        public String getInspection_date() {
            return inspection_date;
        }

        public void setInspection_date(String inspection_date) {
            this.inspection_date = inspection_date;
        }
    }

    public static class InspectionAll {

        private String patientid = "";
        private String inspection_date = "";
        private String record_content="";

        public String getRecord_content() {
            return record_content;
        }

        public void setRecord_content(String record_content) {
            this.record_content = record_content;
        }



        public String getPatientid() {
            return patientid;
        }

        public void setPatientid(String patientid) {
            this.patientid = patientid;
        }

        public String getInspection_date() {
            return inspection_date;
        }

        public void setInspection_date(String inspection_date) {
            this.inspection_date = inspection_date;
        }
    }
}
